// Created by carolsail

import GameMgr from "./manager/GbzGameManager";
import UIMgr from "./manager/GbzUIManager";
import FadeMgr from "./manager/GbzFadeManager";

export default class GbzInstance {
    static gameMgr: GameMgr = null
    static uiMgr: UIMgr = null
    static fadeMgr: FadeMgr = null

    static setGameMgr(ctx: GameMgr) {
        GbzInstance.gameMgr = ctx
    }

    static setUIMgr(ctx: UIMgr) {
        GbzInstance.uiMgr = ctx;
    }

    static setFadeMgr(ctx: FadeMgr) {
        GbzInstance.fadeMgr = ctx
    }
}